package com.yc.boot.train.model.update;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Create with IntelliT IDEA
 *
 * @Author: zhengmingzhe
 * @Date: 2022/01/05/16:36
 * @Description:
 */
@Data
@Accessors(chain = true)
@ApiModel("修改分数管理模型")
public class UpdataGradeManage {
    @ApiModelProperty(value = "课程ID", required = true)
    private Long id;

    @NotNull
    @ApiModelProperty(value = "员工分数", required = true)
    private Integer courseGrade;

    @NotBlank
    @ApiModelProperty(value = "教员评语", required = true)
    private String teacherComment;
}
